package mr.fresh.entity.manange;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import mr.fresh.api.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class FreshGoods extends BaseEntity {
    @ApiModelProperty(value = "主键(自增id)")
    private Long goodId;

    @ApiModelProperty(value = "分类id")
    private Integer categoryId;

    @ApiModelProperty(value = "商品编码")
    private String goodNo;

    @ApiModelProperty(value = "商品名称")
    private String goodName;

    @ApiModelProperty(value = "价格")
    private BigDecimal goodPrice;

    @ApiModelProperty(value = "商品介绍")
    private String goodDesc;

    @ApiModelProperty(value = "上下架（1上架，2下架)")
    private Byte goodStatus;

}